<{include file='public/head'}>

<div class="layui-body">
	<{if($list)}>
	<div class="layui-tab layui-tab-brief" lay-filter="tab">
	  <ul class="layui-tab-title">
	    <li class="layui-this" lay-id="t1">留言列表</li>
	  </ul>
	  <div class="layui-tab-content">
	  	   <div class="layui-tab-item layui-show">
				<{volist name="$list" id="value"}>
	  	   		<table class="layui-table table-two">
	  	   			<thead>
				  		<tr>
					  		<th colspan="2">
					  			在线留言
					  			<span style="float:right">
									<{:get_btn_del($value->id,'message')}>
					  			</span>
					  		</th>
					  	</tr>
				    </thead>
	  	   			<tbody>		
		  	   			
						<tr>
					      	<th>联系人</th>
					      	<td><{$value->contacts}></td>
					    </tr>
						<tr>
					      	<th>电话</th>
					      	<td><{$value->mobile}></td>
					    </tr>
						<tr>
					      	<th>内容</th>
					      	<td>面积：<{$value->mianji}> 内容：<{$value->content}></td>
					    </tr>
						<tr>
					      	<th>时间</th>
					      	<td><{$value->create_time}></td>
					    </tr>
					    <tr>
					      	<th>访客信息</th>
					      	<td>
					      		IP:<a href="http://ip.taobao.com/ipSearch.html?ipAddr={fun=long2ip($value->user_ip)}" target="_blank" title="点击查看归属地"><{:long2ip($value->user_ip)}></a>；
								浏览器:<{$value->user_bs}>；
							</td>
					    </tr>
	  	   			</tbody>
	            </table>
	           <{/volist}>
	            <div class="page"><{$list->render()}></div>
	  	   </div>
	  	 </div>
	</div>
	<{/if}>	
</div>
<{include file='public/foot'}>